package com.axjy.dao;

import com.axjy.pojo.Role;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

/**
 * Created by l on 2018/1/4.
 */
public interface RoleMapper {
    public List<Role> getAll();

    @Insert("INSERT INTO smbms_role(role_Code,role_Name,created_By,creation_Date) VALUES(#{role_Code},#{role_Name},1,NOW())")
    public void addRole(Role role);
}
